/*
 * SalesAuditTrail.java
 *
 * Created on January 20, 2003, 10:00 PM
 */

package com.scalar.chiptrack.sales;

/**
 *
 * @author  KUMAR
 */
public class SalesAuditTrail {

    private int salesOrderId = -1;
    private String userId = null;
    private String actions = null;
    private String comments = null;
    private java.util.Date updatedDate = null;
     private String UpdatedDateAsString = null;


    /** Creates a new instance of SalesAuditTrail */
    public SalesAuditTrail() {
    }

    public SalesAuditTrail(String userId, String actions, String comments, java.util.Date updatedDate)
    {
        this.userId = userId;
        this.actions = actions;
        this.comments = comments;
        this.updatedDate = updatedDate;
    }
    //Added by sarada on 5th Jan  2004 to get Time along with Date in required format
    public SalesAuditTrail(String userId, String actions, String comments, String UpdatedDateAsString)
       {
           this.userId = userId;
           this.actions = actions;
           this.comments = comments;
           this.UpdatedDateAsString = UpdatedDateAsString;
       }


    public int getSalesOrderId()
    {
        return salesOrderId;
    }
    public void setSalesOrderId(int salesOrderId)
    {
        this.salesOrderId = salesOrderId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }


    public String getActions()
    {
        return actions;
    }
    public void setActions(String actions)
    {
        this.actions = actions;
    }

    public String getComments()
    {
        return comments;
    }
    public void setComments(String comments)
    {
        this.comments = comments;
    }
  //Added by sarada on 5th Jan  2004 to get Time along with Date in required format
    public String getUpdatedDateAsString()
    {
        return UpdatedDateAsString;
    }
    public void setUpdatedDateAsString(String UpdatedDateAsString)
    {
        this.UpdatedDateAsString = UpdatedDateAsString;
    }
    public java.util.Date getUpdatedDate()
    {
        return updatedDate;
    }
    public void setUpdatedDate(java.util.Date updatedDate)
    {
        this.updatedDate = updatedDate;
    }

}
